import ajax from './baseAjax';

export default {
  getInterviewList: function (requestBody,handler) {
    ajax.postBody('/recruit/getInterviewList',requestBody,handler);
  },
  getResumeByUserId: function (requestParams,handler) {
    ajax.get('/resume/getByUserId',requestParams,handler);
  },
  getUsersByInterviewId: function (requestParams,handler) {
    ajax.get('/interview/getUsersByInterviewId',requestParams,handler);
  },
  attachInterview: function (requestParams,handler) {
    ajax.postParams('/interview/attachInterview',requestParams,handler);
  },
  unAttachInterview: function (requestParams,handler) {
    ajax.postParams('/interview/unAttachInterview',requestParams,handler);
  },
  finishInterview: function (requestBody,handler) {
    ajax.postBody('/interview/finishInterview',requestBody,handler);
  }
}
